<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: I2C Private Macros</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('group___i2_c___private___macro.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">I2C Private Macros <div class="ingroups"><a class="el" href="group___s_t_m32_h7xx___h_a_l___driver.html">STM32H7xx_HAL_Driver</a> &raquo; <a class="el" href="group___i2_c.html">I2C</a></div></div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-define-members" class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga14b20c50be9fcafef1ce2f0b962b39a9" id="r_ga14b20c50be9fcafef1ce2f0b962b39a9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga14b20c50be9fcafef1ce2f0b962b39a9">IS_I2C_ADDRESSING_MODE</a>(MODE)</td></tr>
<tr class="memitem:gae683c113d4088dfae90fbe6677f8296a" id="r_gae683c113d4088dfae90fbe6677f8296a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gae683c113d4088dfae90fbe6677f8296a">IS_I2C_DUAL_ADDRESS</a>(ADDRESS)</td></tr>
<tr class="memitem:ga4f5ba081bbab937fa5137340492def13" id="r_ga4f5ba081bbab937fa5137340492def13"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga4f5ba081bbab937fa5137340492def13">IS_I2C_OWN_ADDRESS2_MASK</a>(MASK)</td></tr>
<tr class="memitem:ga36a9a7855d7f35a6b03b05c6079bf149" id="r_ga36a9a7855d7f35a6b03b05c6079bf149"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga36a9a7855d7f35a6b03b05c6079bf149">IS_I2C_GENERAL_CALL</a>(CALL)</td></tr>
<tr class="memitem:gaf7d844f7c7f5c96067468ab47971d0fd" id="r_gaf7d844f7c7f5c96067468ab47971d0fd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaf7d844f7c7f5c96067468ab47971d0fd">IS_I2C_NO_STRETCH</a>(STRETCH)</td></tr>
<tr class="memitem:gace95d2b6add7feef5805f1fa6d2e46be" id="r_gace95d2b6add7feef5805f1fa6d2e46be"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gace95d2b6add7feef5805f1fa6d2e46be">IS_I2C_MEMADD_SIZE</a>(SIZE)</td></tr>
<tr class="memitem:gafaa6130d7e7e11240349d9e1476c7f06" id="r_gafaa6130d7e7e11240349d9e1476c7f06"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gafaa6130d7e7e11240349d9e1476c7f06">IS_TRANSFER_MODE</a>(MODE)</td></tr>
<tr class="memitem:ga035522b30af949e6643a5c34bd07f9d2" id="r_ga035522b30af949e6643a5c34bd07f9d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga035522b30af949e6643a5c34bd07f9d2">IS_TRANSFER_REQUEST</a>(REQUEST)</td></tr>
<tr class="memitem:ga8f3522af9ffef268641698ac80f77859" id="r_ga8f3522af9ffef268641698ac80f77859"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga8f3522af9ffef268641698ac80f77859">IS_I2C_TRANSFER_OPTIONS_REQUEST</a>(REQUEST)</td></tr>
<tr class="memitem:ga13a3986011ca018dd12ff39ea3bec11b" id="r_ga13a3986011ca018dd12ff39ea3bec11b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga13a3986011ca018dd12ff39ea3bec11b">IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST</a>(REQUEST)</td></tr>
<tr class="memitem:ga84085a3fd5b43f29ec449d86560a9378" id="r_ga84085a3fd5b43f29ec449d86560a9378"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga84085a3fd5b43f29ec449d86560a9378">I2C_RESET_CR2</a>(__HANDLE__)</td></tr>
<tr class="memitem:ga30d76b55c39e04efb077f47eb454261d" id="r_ga30d76b55c39e04efb077f47eb454261d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga30d76b55c39e04efb077f47eb454261d">I2C_GET_ADDR_MATCH</a>(__HANDLE__)</td></tr>
<tr class="memitem:ga0359d435a6d984b3fefdc2da709e5764" id="r_ga0359d435a6d984b3fefdc2da709e5764"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga0359d435a6d984b3fefdc2da709e5764">I2C_GET_DIR</a>(__HANDLE__)</td></tr>
<tr class="memitem:ga1bc559a860da12ee5a7517548facbc57" id="r_ga1bc559a860da12ee5a7517548facbc57"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga1bc559a860da12ee5a7517548facbc57">I2C_GET_STOP_MODE</a>(__HANDLE__)</td></tr>
<tr class="memitem:gaa80106d084f4027f8f341f2c3c49dcfa" id="r_gaa80106d084f4027f8f341f2c3c49dcfa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gaa80106d084f4027f8f341f2c3c49dcfa">I2C_GET_OWN_ADDRESS1</a>(__HANDLE__)</td></tr>
<tr class="memitem:gad0b113e974debf6a9af783e1fe08ef23" id="r_gad0b113e974debf6a9af783e1fe08ef23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gad0b113e974debf6a9af783e1fe08ef23">I2C_GET_OWN_ADDRESS2</a>(__HANDLE__)</td></tr>
<tr class="memitem:gad84e8b9523d45b6105b4d5cb68994a79" id="r_gad84e8b9523d45b6105b4d5cb68994a79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gad84e8b9523d45b6105b4d5cb68994a79">IS_I2C_OWN_ADDRESS1</a>(ADDRESS1)</td></tr>
<tr class="memitem:ga83001d53612b83ee90730d3bb2732537" id="r_ga83001d53612b83ee90730d3bb2732537"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga83001d53612b83ee90730d3bb2732537">IS_I2C_OWN_ADDRESS2</a>(ADDRESS2)</td></tr>
<tr class="memitem:ga2e42fa55be22240dc5a54a0304d01cfb" id="r_ga2e42fa55be22240dc5a54a0304d01cfb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga2e42fa55be22240dc5a54a0304d01cfb">I2C_MEM_ADD_MSB</a>(__ADDRESS__)</td></tr>
<tr class="memitem:ga9c8f1a763307d0c37bb4e2dcfdf3bb9f" id="r_ga9c8f1a763307d0c37bb4e2dcfdf3bb9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga9c8f1a763307d0c37bb4e2dcfdf3bb9f">I2C_MEM_ADD_LSB</a>(__ADDRESS__)</td></tr>
<tr class="memitem:ga5212d1dbe376d10b7ec3060032283a33" id="r_ga5212d1dbe376d10b7ec3060032283a33"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga5212d1dbe376d10b7ec3060032283a33">I2C_GENERATE_START</a>(__ADDMODE__,  __ADDRESS__)</td></tr>
<tr class="memitem:ga31873e0595e29c80cffe00c2d2e073ab" id="r_ga31873e0595e29c80cffe00c2d2e073ab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ga31873e0595e29c80cffe00c2d2e073ab">I2C_CHECK_FLAG</a>(__ISR__,  __FLAG__)</td></tr>
<tr class="memitem:gacc7c83a67d99d759923c6907f1a1751f" id="r_gacc7c83a67d99d759923c6907f1a1751f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#gacc7c83a67d99d759923c6907f1a1751f">I2C_CHECK_IT_SOURCE</a>(__CR1__,  __IT__)</td></tr>
</table>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<a name="doc-define-members" id="doc-define-members"></a><h2 id="header-doc-define-members" class="groupheader">Macro Definition Documentation</h2>
<a id="ga31873e0595e29c80cffe00c2d2e073ab" name="ga31873e0595e29c80cffe00c2d2e073ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga31873e0595e29c80cffe00c2d2e073ab">&#9670;&#160;</a></span>I2C_CHECK_FLAG</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_CHECK_FLAG</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__ISR__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__FLAG__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                    ((((__ISR__) &amp; ((__FLAG__) &amp; <a class="code hl_define" href="group___i2_c___exported___macros.html#gafbc0a6e4113be03100fbae1314a8b395">I2C_FLAG_MASK</a>)) == \</div>
<div class="line">                                                    ((__FLAG__) &amp; <a class="code hl_define" href="group___i2_c___exported___macros.html#gafbc0a6e4113be03100fbae1314a8b395">I2C_FLAG_MASK</a>)) ? SET : RESET)</div>
<div class="ttc" id="agroup___i2_c___exported___macros_html_gafbc0a6e4113be03100fbae1314a8b395"><div class="ttname"><a href="group___i2_c___exported___macros.html#gafbc0a6e4113be03100fbae1314a8b395">I2C_FLAG_MASK</a></div><div class="ttdeci">#define I2C_FLAG_MASK</div><div class="ttdoc">Check whether the specified I2C flag is set or not.</div><div class="ttdef"><b>Definition</b> stm32h7xx_hal_i2c.h:543</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="gacc7c83a67d99d759923c6907f1a1751f" name="gacc7c83a67d99d759923c6907f1a1751f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacc7c83a67d99d759923c6907f1a1751f">&#9670;&#160;</a></span>I2C_CHECK_IT_SOURCE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_CHECK_IT_SOURCE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__CR1__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__IT__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((((__CR1__) &amp; (__IT__)) == (__IT__)) ? SET : RESET)</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga5212d1dbe376d10b7ec3060032283a33" name="ga5212d1dbe376d10b7ec3060032283a33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5212d1dbe376d10b7ec3060032283a33">&#9670;&#160;</a></span>I2C_GENERATE_START</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_GENERATE_START</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__ADDMODE__</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__ADDRESS__</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                     (((__ADDMODE__) == I2C_ADDRESSINGMODE_7BIT) ? \</div>
<div class="line">                                                     (uint32_t)((((uint32_t)(__ADDRESS__) &amp; (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1a0478d3d85fc6aba608390ee2ea2d1c">I2C_CR2_SADD</a>)) | \</div>
<div class="line">                                                                 (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5ac78b87a12a9eaf564f5a3f99928478">I2C_CR2_START</a>) | (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabcf789c74e217ec8967bcabc156a6c54">I2C_CR2_AUTOEND</a>)) &amp; \</div>
<div class="line">                                                                (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga268ec714bbe4a75ea098c0e230a87697">~I2C_CR2_RD_WRN</a>)) : \</div>
<div class="line">                                                     (uint32_t)((((uint32_t)(__ADDRESS__) &amp; (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1a0478d3d85fc6aba608390ee2ea2d1c">I2C_CR2_SADD</a>)) | \</div>
<div class="line">                                                                 (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5454de5709c0e68a0068f9f5d39e5674">I2C_CR2_ADD10</a>) | (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5ac78b87a12a9eaf564f5a3f99928478">I2C_CR2_START</a>) | \</div>
<div class="line">                                                                 (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabcf789c74e217ec8967bcabc156a6c54">I2C_CR2_AUTOEND</a>)) &amp; (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga268ec714bbe4a75ea098c0e230a87697">~I2C_CR2_RD_WRN</a>)))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga1a0478d3d85fc6aba608390ee2ea2d1c"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga1a0478d3d85fc6aba608390ee2ea2d1c">I2C_CR2_SADD</a></div><div class="ttdeci">#define I2C_CR2_SADD</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13114</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga268ec714bbe4a75ea098c0e230a87697"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga268ec714bbe4a75ea098c0e230a87697">I2C_CR2_RD_WRN</a></div><div class="ttdeci">#define I2C_CR2_RD_WRN</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13117</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5454de5709c0e68a0068f9f5d39e5674"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5454de5709c0e68a0068f9f5d39e5674">I2C_CR2_ADD10</a></div><div class="ttdeci">#define I2C_CR2_ADD10</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13120</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5ac78b87a12a9eaf564f5a3f99928478"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5ac78b87a12a9eaf564f5a3f99928478">I2C_CR2_START</a></div><div class="ttdeci">#define I2C_CR2_START</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13126</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gabcf789c74e217ec8967bcabc156a6c54"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gabcf789c74e217ec8967bcabc156a6c54">I2C_CR2_AUTOEND</a></div><div class="ttdeci">#define I2C_CR2_AUTOEND</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13141</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga30d76b55c39e04efb077f47eb454261d" name="ga30d76b55c39e04efb077f47eb454261d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga30d76b55c39e04efb077f47eb454261d">&#9670;&#160;</a></span>I2C_GET_ADDR_MATCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_GET_ADDR_MATCH</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                              ((uint16_t)(((__HANDLE__)-&gt;Instance-&gt;ISR &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9050a7e2c1d8777251352f51197e4c80">I2C_ISR_ADDCODE</a>) \</div>
<div class="line">                                                              &gt;&gt; 16U))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga9050a7e2c1d8777251352f51197e4c80"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga9050a7e2c1d8777251352f51197e4c80">I2C_ISR_ADDCODE</a></div><div class="ttdeci">#define I2C_ISR_ADDCODE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13275</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga0359d435a6d984b3fefdc2da709e5764" name="ga0359d435a6d984b3fefdc2da709e5764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0359d435a6d984b3fefdc2da709e5764">&#9670;&#160;</a></span>I2C_GET_DIR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_GET_DIR</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                             ((uint8_t)(((__HANDLE__)-&gt;Instance-&gt;ISR &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa4890d7deb94106f946b28a7309e22aa">I2C_ISR_DIR</a>) \</div>
<div class="line">                                                             &gt;&gt; 16U))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaa4890d7deb94106f946b28a7309e22aa"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaa4890d7deb94106f946b28a7309e22aa">I2C_ISR_DIR</a></div><div class="ttdeci">#define I2C_ISR_DIR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13272</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="gaa80106d084f4027f8f341f2c3c49dcfa" name="gaa80106d084f4027f8f341f2c3c49dcfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa80106d084f4027f8f341f2c3c49dcfa">&#9670;&#160;</a></span>I2C_GET_OWN_ADDRESS1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_GET_OWN_ADDRESS1</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((uint16_t)((__HANDLE__)-&gt;Instance-&gt;OAR1 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabb954a9a0e3e3898574643b6d725a70f">I2C_OAR1_OA1</a>))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gabb954a9a0e3e3898574643b6d725a70f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gabb954a9a0e3e3898574643b6d725a70f">I2C_OAR1_OA1</a></div><div class="ttdeci">#define I2C_OAR1_OA1</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13149</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="gad0b113e974debf6a9af783e1fe08ef23" name="gad0b113e974debf6a9af783e1fe08ef23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad0b113e974debf6a9af783e1fe08ef23">&#9670;&#160;</a></span>I2C_GET_OWN_ADDRESS2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_GET_OWN_ADDRESS2</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((uint16_t)((__HANDLE__)-&gt;Instance-&gt;OAR2 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga4627c5a89a3cbe9546321418f8cb9da2">I2C_OAR2_OA2</a>))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga4627c5a89a3cbe9546321418f8cb9da2"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga4627c5a89a3cbe9546321418f8cb9da2">I2C_OAR2_OA2</a></div><div class="ttdeci">#define I2C_OAR2_OA2</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13160</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga1bc559a860da12ee5a7517548facbc57" name="ga1bc559a860da12ee5a7517548facbc57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1bc559a860da12ee5a7517548facbc57">&#9670;&#160;</a></span>I2C_GET_STOP_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_GET_STOP_MODE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((__HANDLE__)-&gt;Instance-&gt;CR2 &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabcf789c74e217ec8967bcabc156a6c54">I2C_CR2_AUTOEND</a>)</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga9c8f1a763307d0c37bb4e2dcfdf3bb9f" name="ga9c8f1a763307d0c37bb4e2dcfdf3bb9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9c8f1a763307d0c37bb4e2dcfdf3bb9f">&#9670;&#160;</a></span>I2C_MEM_ADD_LSB</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_MEM_ADD_LSB</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__ADDRESS__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((uint8_t)((uint16_t)((__ADDRESS__) &amp; (uint16_t)(0x00FFU))))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga2e42fa55be22240dc5a54a0304d01cfb" name="ga2e42fa55be22240dc5a54a0304d01cfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2e42fa55be22240dc5a54a0304d01cfb">&#9670;&#160;</a></span>I2C_MEM_ADD_MSB</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_MEM_ADD_MSB</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__ADDRESS__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                                         ((uint8_t)((uint16_t)(((uint16_t)((__ADDRESS__) &amp; \</div>
<div class="line">                                                                         (uint16_t)(0xFF00U))) &gt;&gt; 8U)))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga84085a3fd5b43f29ec449d86560a9378" name="ga84085a3fd5b43f29ec449d86560a9378"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga84085a3fd5b43f29ec449d86560a9378">&#9670;&#160;</a></span>I2C_RESET_CR2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define I2C_RESET_CR2</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>__HANDLE__</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                   ((__HANDLE__)-&gt;Instance-&gt;CR2 &amp;= \</div>
<div class="line">                                                   (uint32_t)~((uint32_t)(<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1a0478d3d85fc6aba608390ee2ea2d1c">I2C_CR2_SADD</a>   | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga2de0f12e6fb297c2c29bee5504e54377">I2C_CR2_HEAD10R</a> | \</div>
<div class="line">                                                                          <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga23a58895a897ccc34a8cbbe36b412b69">I2C_CR2_NBYTES</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga21a796045451013c964ef8b12ca6c9bb">I2C_CR2_RELOAD</a>  | \</div>
<div class="line">                                                                          <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga268ec714bbe4a75ea098c0e230a87697">I2C_CR2_RD_WRN</a>)))</div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga21a796045451013c964ef8b12ca6c9bb"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga21a796045451013c964ef8b12ca6c9bb">I2C_CR2_RELOAD</a></div><div class="ttdeci">#define I2C_CR2_RELOAD</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13138</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga23a58895a897ccc34a8cbbe36b412b69"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga23a58895a897ccc34a8cbbe36b412b69">I2C_CR2_NBYTES</a></div><div class="ttdeci">#define I2C_CR2_NBYTES</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13135</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga2de0f12e6fb297c2c29bee5504e54377"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga2de0f12e6fb297c2c29bee5504e54377">I2C_CR2_HEAD10R</a></div><div class="ttdeci">#define I2C_CR2_HEAD10R</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:13123</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="ga14b20c50be9fcafef1ce2f0b962b39a9" name="ga14b20c50be9fcafef1ce2f0b962b39a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga14b20c50be9fcafef1ce2f0b962b39a9">&#9670;&#160;</a></span>IS_I2C_ADDRESSING_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_ADDRESSING_MODE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((MODE) == I2C_ADDRESSINGMODE_7BIT) || \</div>
<div class="line">                                         ((MODE) == I2C_ADDRESSINGMODE_10BIT))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gae683c113d4088dfae90fbe6677f8296a" name="gae683c113d4088dfae90fbe6677f8296a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae683c113d4088dfae90fbe6677f8296a">&#9670;&#160;</a></span>IS_I2C_DUAL_ADDRESS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_DUAL_ADDRESS</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>ADDRESS</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((ADDRESS) == I2C_DUALADDRESS_DISABLE) || \</div>
<div class="line">                                         ((ADDRESS) == I2C_DUALADDRESS_ENABLE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga36a9a7855d7f35a6b03b05c6079bf149" name="ga36a9a7855d7f35a6b03b05c6079bf149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga36a9a7855d7f35a6b03b05c6079bf149">&#9670;&#160;</a></span>IS_I2C_GENERAL_CALL</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_GENERAL_CALL</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>CALL</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((CALL) == I2C_GENERALCALL_DISABLE) || \</div>
<div class="line">                                         ((CALL) == I2C_GENERALCALL_ENABLE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gace95d2b6add7feef5805f1fa6d2e46be" name="gace95d2b6add7feef5805f1fa6d2e46be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gace95d2b6add7feef5805f1fa6d2e46be">&#9670;&#160;</a></span>IS_I2C_MEMADD_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_MEMADD_SIZE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>SIZE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((SIZE) == I2C_MEMADD_SIZE_8BIT) || \</div>
<div class="line">                                         ((SIZE) == I2C_MEMADD_SIZE_16BIT))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gaf7d844f7c7f5c96067468ab47971d0fd" name="gaf7d844f7c7f5c96067468ab47971d0fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf7d844f7c7f5c96067468ab47971d0fd">&#9670;&#160;</a></span>IS_I2C_NO_STRETCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_NO_STRETCH</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>STRETCH</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((STRETCH) == I2C_NOSTRETCH_DISABLE) || \</div>
<div class="line">                                         ((STRETCH) == I2C_NOSTRETCH_ENABLE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gad84e8b9523d45b6105b4d5cb68994a79" name="gad84e8b9523d45b6105b4d5cb68994a79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad84e8b9523d45b6105b4d5cb68994a79">&#9670;&#160;</a></span>IS_I2C_OWN_ADDRESS1</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_OWN_ADDRESS1</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>ADDRESS1</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((ADDRESS1) &lt;= 0x000003FFU)</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga83001d53612b83ee90730d3bb2732537" name="ga83001d53612b83ee90730d3bb2732537"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga83001d53612b83ee90730d3bb2732537">&#9670;&#160;</a></span>IS_I2C_OWN_ADDRESS2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_OWN_ADDRESS2</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>ADDRESS2</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((ADDRESS2) &lt;= (uint16_t)0x00FFU)</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga4f5ba081bbab937fa5137340492def13" name="ga4f5ba081bbab937fa5137340492def13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4f5ba081bbab937fa5137340492def13">&#9670;&#160;</a></span>IS_I2C_OWN_ADDRESS2_MASK</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_OWN_ADDRESS2_MASK</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MASK</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((MASK) == I2C_OA2_NOMASK)  || \</div>
<div class="line">                                         ((MASK) == I2C_OA2_MASK01) || \</div>
<div class="line">                                         ((MASK) == I2C_OA2_MASK02) || \</div>
<div class="line">                                         ((MASK) == I2C_OA2_MASK03) || \</div>
<div class="line">                                         ((MASK) == I2C_OA2_MASK04) || \</div>
<div class="line">                                         ((MASK) == I2C_OA2_MASK05) || \</div>
<div class="line">                                         ((MASK) == I2C_OA2_MASK06) || \</div>
<div class="line">                                         ((MASK) == I2C_OA2_MASK07))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga8f3522af9ffef268641698ac80f77859" name="ga8f3522af9ffef268641698ac80f77859"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f3522af9ffef268641698ac80f77859">&#9670;&#160;</a></span>IS_I2C_TRANSFER_OPTIONS_REQUEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_TRANSFER_OPTIONS_REQUEST</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>REQUEST</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                   (((REQUEST) == I2C_FIRST_FRAME)          || \</div>
<div class="line">                                                   ((REQUEST) == I2C_FIRST_AND_NEXT_FRAME) || \</div>
<div class="line">                                                   ((REQUEST) == I2C_NEXT_FRAME)           || \</div>
<div class="line">                                                   ((REQUEST) == I2C_FIRST_AND_LAST_FRAME) || \</div>
<div class="line">                                                   ((REQUEST) == I2C_LAST_FRAME)           || \</div>
<div class="line">                                                   ((REQUEST) == I2C_LAST_FRAME_NO_STOP)   || \</div>
<div class="line">                                                   IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(REQUEST))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga13a3986011ca018dd12ff39ea3bec11b" name="ga13a3986011ca018dd12ff39ea3bec11b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga13a3986011ca018dd12ff39ea3bec11b">&#9670;&#160;</a></span>IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>REQUEST</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                                        (((REQUEST) == I2C_OTHER_FRAME)     || \</div>
<div class="line">                                                        ((REQUEST) == I2C_OTHER_AND_LAST_FRAME))</div>
</div><!-- fragment -->
</div>
</div>
<a id="gafaa6130d7e7e11240349d9e1476c7f06" name="gafaa6130d7e7e11240349d9e1476c7f06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafaa6130d7e7e11240349d9e1476c7f06">&#9670;&#160;</a></span>IS_TRANSFER_MODE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_TRANSFER_MODE</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>MODE</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((MODE) == I2C_RELOAD_MODE)   || \</div>
<div class="line">                                         ((MODE) == I2C_AUTOEND_MODE) || \</div>
<div class="line">                                         ((MODE) == I2C_SOFTEND_MODE))</div>
</div><!-- fragment -->
</div>
</div>
<a id="ga035522b30af949e6643a5c34bd07f9d2" name="ga035522b30af949e6643a5c34bd07f9d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga035522b30af949e6643a5c34bd07f9d2">&#9670;&#160;</a></span>IS_TRANSFER_REQUEST</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IS_TRANSFER_REQUEST</td>
          <td>(</td>
          <td class="paramtype"></td>          <td class="paramname"><span class="paramname"><em>REQUEST</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">                                         (((REQUEST) == I2C_GENERATE_STOP)        || \</div>
<div class="line">                                         ((REQUEST) == I2C_GENERATE_START_READ)  || \</div>
<div class="line">                                         ((REQUEST) == I2C_GENERATE_START_WRITE) || \</div>
<div class="line">                                         ((REQUEST) == I2C_NO_STARTSTOP))</div>
</div><!-- fragment -->
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
